package com.rich.common.exception;

import lombok.Getter;

/**
 * @Author: guofeng
 * @Date: 2021/07/18/19:03
 * @Description:
 */
@Getter
public enum ErrorEnum {

    /*数据转换异常*/
    DATA_TRANSFER_ERROR(500, "数据转换异常！"),
    HOUSE_AUDIT_DATA_DELETE_ERROR(500,"你啥啥关卡都过不去还想删数据????");


    /** 错误码 */
    private Integer errorCode;

    /** 错误信息 */
    private String errorMsg;

    ErrorEnum(Integer errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

}